import _http from "@/utils/http";

export default {
  orderQryList(params, loading, headers) {
    return _http("post", {
      url: "/eas/mobile/order/qry/list",
      apiName: "直接订单列表",
    }, params, loading, headers);
  },

  orderQryDetail(params, loading, headers) {
    return _http("post", {
      url: "/eas/mobile/order/qry/detail",
      apiName: "直接订单详情",
    }, params, loading, headers);
  },

  orderPromotionList(params, loading, headers) {
    return _http("post", {
      url: "/eas/mobile/order/promotion/list",
      apiName: "间接订单列表",
    }, params, loading, headers);
  },

  orderPromotionDetail(params, loading, headers) {
    return _http("post", {
      url: "/eas/mobile/order/promotion/detail",
      apiName: "间接订单详情",
    }, params, loading, headers);
  },

  goodsChooseList(params, loading, headers) {
    return _http("post", {
      url: "/eas/mobile/goods/choose/list",
      apiName: "筛选框的商品列表",
    }, params, loading, headers);
  },

  consumerList(params, loading, headers) {
    return _http("post", {
      url: "/ums/app/shop/choose/consumer",
      apiName: "我的下级代理商列表-下拉框用",
    }, params, loading, headers);
  },
};
